package com.groupscore.score.service;

import com.groupscore.score.dao.RyclDao;
import com.groupscore.score.pojo.Rycl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import util.IdWorker;

@Service
public class RyclService {
    @Autowired
    private IdWorker idWorker;

    @Autowired
    private RyclDao ryclDao;
    public void add(Rycl rycl){
        //rycl.setId(idWorker.nextId()+"");
        ryclDao.save(rycl);
    }
}
